package com.tjk.crawler.controller.red;

import com.tjk.crawler.base.entity.Result;
import com.tjk.crawler.service.red.service.HuaweiService;
import com.tjk.crawler.service.red.service.RedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author tangjiakai
 * @Date 2024/9/29 14:33
 * @Description: 华为相关接口
 */
@RestController
@RequestMapping("/huawei")
public class HuaweiCrawlerController {

    @Autowired
    HuaweiService huaweiService;

    @PostMapping("/crawlerPhoneModels")
    public Result crawlerPhoneModels() {
        huaweiService.crawlerPhoneModels();
        return null;
    }
}
